package com.wlstock.funi.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.util.Date;

/**
 * Created by admin on 16/9/13.
 */

@DatabaseTable
public class EnvFeelResult extends BaseModel {

    public static final  String PERIOD_DAY = "PERIOD_DAY";

    public static final  String PERIOD_MINS = "PERIOD_MINS";

    @DatabaseField(id = true, generatedId = true)
    private String id;
    @DatabaseField
    private float score;
    @DatabaseField
    private  int state;
    @DatabaseField
    private Date createDate;
    @DatabaseField
    private String detail;
    @DatabaseField
    private float incomePercentage;
    @DatabaseField
    private String period;
    @DatabaseField
    private boolean isSuccess;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public float getIncomePercentage() {
        return incomePercentage;
    }

    public void setIncomePercentage(float incomePercentage) {
        this.incomePercentage = incomePercentage;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }


}
